package com.back.demo.mapper;

import com.back.demo.service.MyEasyExcel.ImportScoreInfoX;
import com.back.demo.service.MyEasyExcel.StudentInfoX;
import com.back.demo.service.MyEasyExcel.StudentScoreInfoX;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AdminMapper {
    void userImport(StudentInfoX studentInfoX);

    Integer getMaxUserId();

    Integer getUserId(String studentId);

    void roleImport(Integer userId);

    void infoImport(StudentInfoX studentInfoX);

    void summaryImport(Integer userId);

    void scoreImport(Integer userId);

    void gpaImport(ImportScoreInfoX importScoreInfoX);

    List<StudentScoreInfoX> scoreExport();
}